{template header}
<div class="bs-docs-example">    
    <table class="table table-striped">
        <thead>
            <tr>
                <th>日期</th>
                <th>记录数</th>
                <th>总里程（KM)</th>
                <th>总时长(h)</th>                
            </tr>
        </thead>
        <tbody>
            {loop $runData $k $v}
            <tr>                              
                <td><a class="btn btn-link" href="?c=admin&a=allRunData&day=$v['day']" target="_blank">{$v['day']}</a>
                </td>
                <td>{$v['counts']}</td>
                <td>{$v['mileage']}</td>
                <td>{$v['elapstime']}</td>     
            </tr>
            {/loop}
        </tbody>
    </table>
</div>
{template footer}
